package me.qi.kancha.vo.rule;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author sun
 * @date 2022/1/5 16:17
 * @modified By：
 */
@Data
public class RuleInsertVO {

    /**
     * 权限编号
     */
    @NotBlank
    @Length(max = 16, message = "长度不能大于{max}")
    private String code;

    /**
     * 权限名称
     */
    @NotBlank
    @Length(max = 16, message = "长度不能大于{max}")
    private String name;

    /**
     * 备注
     */
    @Length(max = 64, message = "长度不能大于{max}")
    private String remarks;
}
